import java.util.Scanner;

/**
 * @author 李泽伟
 */
public class GameTest {
    public static void main(String[] args) {

        Scanner input = new Scanner(System.in);
        double in = input.nextDouble();
        System.out.println(in);
        // 创建角色
        Role r1 = new Role("李泽江", 200);
        Role r2 = new Role("江田清", 200);
        while (true){
            r1.attack(r2);
            if (r2.getBlood()<=0) {
                System.out.println(r1.getName()+"K.O了"+r2.getName());
                break;
            }
            r2.attack(r1);
            if (r1.getBlood() <= 0) {
                System.out.println(r2.getName() + "K.O了"+r1.getName());
                break;
            }
        }
    }
}
